package com.hjc.springbootmovies.service;

import com.hjc.springbootmovies.entity.ModelSale;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: HJC
 * Date: 2019/12/6
 * Time: 10:29
 * To change this template use File | Settings | File Templates.
 */
public interface SaleService {
    List<ModelSale> querySale();
    int addSale(@Param("fid")int fid , @Param("tid")int tid , @Param("mzw")int mzw);
    int deleteById(int mid);
    List<ModelSale> queryById2(Integer xid);
    List<ModelSale> queryMzw(@Param("tid")int tid , @Param("fid")int fid );
}
